home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_perl.idb / usr / freeware / catman / u_man / cat1 / perlbug.Z / perlbug
Encoding:
Text File  |  1998-10-28  |  12.5 KB  |  331 lines

  1.  
  2.  
  3.  
  4.      PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))         22223333////OOOOcccctttt////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))        PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       perlbug - how    to submit bug reports on Perl
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       ppppeeeerrrrllllbbbbuuuugggg [ ----vvvv ] [ ----aaaa _a_d_d_r_e_s_s ]    [ ----ssss _s_u_b_j_e_c_t ]
  13.       [ ----bbbb _b_o_d_y | ----ffff _i_n_p_u_t_f_i_l_e ] [ ----FFFF _o_u_t_p_u_t_f_i_l_e ]
  14.       [ ----rrrr _r_e_t_u_r_n_a_d_d_r_e_s_s ] [ ----eeee _e_d_i_t_o_r ] [ ----cccc _a_d_m_i_n_a_d_d_r_e_s_s | ----CCCC ]
  15.       [ ----SSSS ] [ ----tttt ]     [ ----dddd ]     [ ----hhhh ]
  16.  
  17.       ppppeeeerrrrllllbbbbuuuugggg [ ----vvvv ] [ ----rrrr _r_e_t_u_r_n_a_d_d_r_e_s_s ]
  18.       [ ----ooookkkk    | ----ooookkkkaaaayyyy    | ----nnnnooookkkk | ----nnnnooookkkkaaaayyyy    ]
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       A program to help generate bug reports about perl or the
  22.       modules that come with it, and mail them.
  23.  
  24.       If you have found a bug with a non-standard port (one    that
  25.       was not part of the _s_t_a_n_d_a_r_d _d_i_s_t_r_i_b_u_t_i_o_n), a    binary
  26.       distribution,    or a non-standard module (such as Tk, CGI,
  27.       etc),    then please see    the documentation that came with that
  28.       distribution to determine the    correct    place to report    bugs.
  29.  
  30.       perlbug is designed to be used interactively.    Normally no
  31.       arguments will be needed.  Simply run    it, and    follow the
  32.       prompts.
  33.  
  34.       If you are unable to run ppppeeeerrrrllllbbbbuuuugggg (most likely    because    you
  35.       don't    have a working setup to    send mail that perlbug
  36.       recognizes), you may have to compose your own    report,    and
  37.       email    it to ppppeeeerrrrllllbbbbuuuugggg@@@@ppppeeeerrrrllll....ccccoooommmm.     You might find    the ----dddd option
  38.       useful to get    summary    information in that case.
  39.  
  40.       In any case, when reporting a    bug, please make sure you have
  41.       run through this checklist:
  42.  
  43.       What version of perl you are running?
  44.           Type perl    -v at the command line to find out.
  45.  
  46.       Are you running the latest released version of perl?
  47.           Look at http://www.perl.com/ to find out.     If it is not
  48.           the latest released version, get that one    and see
  49.           whether your bug has been    fixed.    Note that bug reports
  50.           about old    versions of perl, especially those prior to
  51.           the 5.0 release, are likely to fall upon deaf ears.  You
  52.           are on your own if you continue to use perl1 .. perl4.
  53.  
  54.       Are you sure what you    have is    a bug?
  55.           A    significant number of the bug reports we get turn out
  56.           to be documented features    in perl.  Make sure the
  57.           behavior you are witnessing doesn't fall under that
  58.           category,    by glancing through the    documentation that
  59.           comes with perl (we'll admit this    is no mean task, given
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 10/23/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))         22223333////OOOOcccctttt////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))        PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))
  71.  
  72.  
  73.  
  74.           the sheer    volume of it all, but at least have a look at
  75.           the sections that    _s_e_e_m relevant).
  76.  
  77.           Be aware of the familiar traps that perl programmers of
  78.           various hues fall    into.  See the _p_e_r_l_t_r_a_p    manpage.
  79.  
  80.           Try to study the problem under the perl debugger,    if
  81.           necessary.  See the _p_e_r_l_d_e_b_u_g manpage.
  82.  
  83.       Do you have a    proper test case?
  84.           The easier it is to reproduce your bug, the more likely
  85.           it will be fixed,    because    if no one can duplicate    the
  86.           problem, no one can fix it.  A good test case has    most
  87.           of these attributes: fewest possible number of lines;
  88.           few dependencies on external commands, modules, or
  89.           libraries; runs on most platforms    unimpeded; and is
  90.           self-documenting.
  91.  
  92.           A    good test case is almost always    a good candidate to be
  93.           on the perl test suite.  If you have the time, consider
  94.           making your test case so that it will readily fit    into
  95.           the standard test    suite.
  96.  
  97.       Can you describe the bug in plain English?
  98.           The easier it is to understand a reproducible bug, the
  99.           more likely it will be fixed.  Anything you can provide
  100.           by way of    insight    into the problem helps a great deal.
  101.           In other words, try to analyse the problem to the    extent
  102.           you feel qualified and report your discoveries.
  103.  
  104.       Can you fix the bug yourself?
  105.           A    bug report which _i_n_c_l_u_d_e_s _a _p_a_t_c_h _t_o _f_i_x _i_t will
  106.           almost definitely    be fixed.  Use the diff    program    to
  107.           generate your patches (diff is being maintained by the
  108.           GNU folks    as part    of the ddddiiiiffffffffuuuuttttiiiillllssss package, so you
  109.           should be    able to    get it from any    of the GNU software
  110.           repositories).  If you do    submit a patch,    the cool-dude
  111.           counter at perlbug@perl.com will register    you as a
  112.           savior of    the world.  Your patch may be returned with
  113.           requests for changes, or requests    for more detailed
  114.           explanations about your fix.
  115.  
  116.           Here are some clues for creating quality patches:    Use
  117.           the ----cccc or    ----uuuu switches to the diff    program    (to create a
  118.           so-called    context    or unified diff).  Make    sure the patch
  119.           is not reversed (the first argument to diff is typically
  120.           the original file, the second argument your changed
  121.           file).  Make sure    you test your patch by applying    it
  122.           with the patch program before you    send it    on its way.
  123.           Try to follow the    same style as the code you are trying
  124.           to patch.     Make sure your    patch really does work (make
  125.           test, if the thing you're    patching supports it).
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 10/23/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))         22223333////OOOOcccctttt////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))        PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))
  137.  
  138.  
  139.  
  140.       Can you use perlbug to submit    the report?
  141.           ppppeeeerrrrllllbbbbuuuugggg will, amongst other things, ensure your report
  142.           includes crucial information about your version of perl.
  143.           If perlbug is unable to mail your    report after you have
  144.           typed it in, you may have    to compose the message
  145.           yourself,    add the    output produced    by perlbug -d and
  146.           email it to ppppeeeerrrrllllbbbbuuuugggg@@@@ppppeeeerrrrllll....ccccoooommmm.  If, for some reason, you
  147.           cannot run perlbug at all    on your    system,    be sure    to
  148.           include the entire output    produced by running perl -V
  149.           (note the    uppercase V).
  150.  
  151.       Having done your bit,    please be prepared to wait, to be told
  152.       the bug is in    your code, or even to get no reply at all.
  153.       The perl maintainers are busy    folks, so if your problem is a
  154.       small    one or if it is    difficult to understand    or already
  155.       known, they may not respond with a personal reply.  If it is
  156.       important to you that    your bug be fixed, do monitor the
  157.       Changes file in any development releases since the time you
  158.       submitted the    bug, and encourage the maintainers with    kind
  159.       words    (but never any flames!).  Feel free to resend your bug
  160.       report if the    next released version of perl comes out    and
  161.       your bug is still present.
  162.  
  163.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  164.       ----aaaa      Address to send the report to.  Defaults to
  165.           `perlbug@perl.com'.
  166.  
  167.       ----bbbb      Body of the report.  If not included on the command
  168.           line,    or in a    file with ----ffff, you will get a chance to
  169.           edit the message.
  170.  
  171.       ----CCCC      Don't    send copy to administrator.
  172.  
  173.       ----cccc      Address to send copy of report to.  Defaults to the
  174.           address of the local perl administrator (recorded
  175.           when perl was    built).
  176.  
  177.       ----dddd      Data mode (the default if you    redirect or pipe
  178.           output).  This prints    out your configuration data,
  179.           without mailing anything.  You can use this with ----vvvv
  180.           to get more complete data.
  181.  
  182.       ----eeee      Editor to use.
  183.  
  184.       ----ffff      File containing the body of the report.  Use this to
  185.           quickly send a prepared message.
  186.  
  187.       ----FFFF      File to output the results to    instead    of sending as
  188.           an email. Useful particularly    when running perlbug
  189.           on a machine with no direct internet connection.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                        (printed 10/23/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))         22223333////OOOOcccctttt////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))        PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))
  203.  
  204.  
  205.  
  206.       ----hhhh      Prints a brief summary of the    options.
  207.  
  208.       ----ooookkkk      Report successful build on this system to perl
  209.           porters. Forces ----SSSS and ----CCCC. Forces and    supplies
  210.           values for ----ssss    and ----bbbb.    Only prompts for a return
  211.           address if it    cannot guess it    (for use with mmmmaaaakkkkeeee).
  212.           Honors return    address    specified with ----rrrr.  You    can
  213.           use this with    ----vvvv to get more complete    data.    Only
  214.           makes    a report if this system    is less    than 60    days
  215.           old.
  216.  
  217.       ----ooookkkkaaaayyyy      As ----ooookkkk except    it will    report on older    systems.
  218.  
  219.       ----nnnnooookkkk      Report unsuccessful build on this system.  Forces
  220.           ----CCCC.  Forces and supplies a value for ----ssss, then
  221.           requires you to edit the report and say what went
  222.           wrong.  Alternatively, a prepared report may be
  223.           supplied using ----ffff.  Only prompts for a return
  224.           address if it    cannot guess it    (for use with mmmmaaaakkkkeeee).
  225.           Honors return    address    specified with ----rrrr.  You    can
  226.           use this with    ----vvvv to get more complete    data.  Only
  227.           makes    a report if this system    is less    than 60    days
  228.           old.
  229.  
  230.       ----nnnnooookkkkaaaayyyy  As ----nnnnooookkkk except it will report    on older systems.
  231.  
  232.       ----rrrr      Your return address.    The program will ask you to
  233.           confirm its default if you don't use this option.
  234.  
  235.       ----SSSS      Send without asking for confirmation.
  236.  
  237.       ----ssss      Subject to include with the message.    You will be
  238.           prompted if you don't    supply one on the command
  239.           line.
  240.  
  241.       ----tttt      Test mode.  The target address defaults to
  242.           `perlbug-test@perl.com'.
  243.  
  244.       ----vvvv      Include verbose configuration    data in    the report.
  245.  
  246.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  247.       Kenneth Albanowski (<kjahds@kjahds.com>), subsequently
  248.       _d_o_ctored by Gurusamy Sarathy (<gsar@umich.edu>), Tom
  249.       Christiansen (<tchrist@perl.com>), Nathan Torkington
  250.       (<gnat@frii.com>), Charles F.    Randall    (<cfr@pobox.com>),
  251.       Mike Guy (<mjtg@cam.a.uk>), Dominic Dunlop
  252.       (<domo@computer.org>)    and Hugo van der Sanden
  253.       (<hv@crypt0.demon.co.uk>).
  254.  
  255.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  256.       _p_e_r_l(1), _p_e_r_l_d_e_b_u_g(1), _p_e_r_l_t_r_a_p(1), _d_i_f_f(1), _p_a_t_c_h(1)
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                        (printed 10/23/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))         22223333////OOOOcccctttt////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))        PPPPEEEERRRRLLLLBBBBUUUUGGGG((((1111))))
  269.  
  270.  
  271.  
  272.      BBBBUUUUGGGGSSSS
  273.       None known (guess what must have been    used to    report them?)
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.      Page 5                        (printed 10/23/98)
  328.  
  329.  
  330.  
  331.